package com.itheima.tanhua.api.db;


import com.itheima.tanhua.pojo.db.User;
import org.springframework.stereotype.Service;


public interface UserApi {

    public User getByPhone(String phone);

    Long save(User user);

    //更新用户信息
    void update(User user);
   //查询用户
    User findById(Long uid);

    //通过环信Id 查询用户信息
    User findByHuanxinId(String huaxinId);
}
